#ifndef bucketsort_h__
#define bucketsort_h__

class B
{
public:
	float x;
	B* pNext;
};

class Bucket
{
public:
	Bucket(int level);
	void set(float fIn);
	void toArray(float* pIn,int length);
	~Bucket();
private:
	B** bucket;
	B** head;
	int bucketNum;
};
void bucketsort(float* pIn,int length);
#endif // bucketsort_h__